package com.ruoyi.house.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播图对象 house_index_banner
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
public class IndexBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 轮播图名称 */
    @Excel(name = "轮播图名称")
    private String bannerName;

    /** 轮播图url */
    @Excel(name = "轮播图url")
    private String bannerImgUrl;

    /** 轮播图排序索引 */
    @Excel(name = "轮播图排序索引")
    private Long bannerSortIndex;

    /** 轮播图跳转地址 */
    @Excel(name = "轮播图跳转地址")
    private String bannerRedirectLink;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBannerName(String bannerName) 
    {
        this.bannerName = bannerName;
    }

    public String getBannerName() 
    {
        return bannerName;
    }
    public void setBannerImgUrl(String bannerImgUrl) 
    {
        this.bannerImgUrl = bannerImgUrl;
    }

    public String getBannerImgUrl() 
    {
        return bannerImgUrl;
    }
    public void setBannerSortIndex(Long bannerSortIndex) 
    {
        this.bannerSortIndex = bannerSortIndex;
    }

    public Long getBannerSortIndex() 
    {
        return bannerSortIndex;
    }
    public void setBannerRedirectLink(String bannerRedirectLink) 
    {
        this.bannerRedirectLink = bannerRedirectLink;
    }

    public String getBannerRedirectLink() 
    {
        return bannerRedirectLink;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerName", getBannerName())
            .append("bannerImgUrl", getBannerImgUrl())
            .append("bannerSortIndex", getBannerSortIndex())
            .append("bannerRedirectLink", getBannerRedirectLink())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
